UCF STIG Viewer Logo

The macOS system must be configured to disable Location Services.


Overview

Finding ID Version Rule ID IA Controls Severity
V-257187 APPL-13-002004 SV-257187r905194_rule Medium
Description
To prevent unauthorized connection of devices, unauthorized transfer of information, or unauthorized tunneling (i.e., embedding of data types within data types), organizations must disable or restrict unused or unnecessary physical and logical ports/protocols on information systems. Operating systems can provide a wide variety of functions and services. Some of the functions and services provided by default may not be necessary to support essential organizational operations. Additionally, it is sometimes convenient to provide multiple services from a single component (e.g., VPN and IPS); however, doing so increases risk over limiting the services provided by any one component. To support the requirements and principles of least functionality, the operating system must support the organizational requirements, providing only essential capabilities and limiting the use of ports, protocols, and/or services to only those required, authorized, and approved to conduct official business or to address authorized quality-of-life issues. Location Services must be disabled.
STIG Date
Apple macOS 13 (Ventura) Security Technical Implementation Guide 2023-08-28

Details

Check Text ( C-60872r905192_chk )
Verify the macOS system is configured to disable Location Services with the following command:

/usr/bin/sudo /usr/bin/defaults read /var/db/locationd/Library/Preferences/ByHost/com.apple.locationd | /usr/bin/grep "LocationServicesEnabled"

LocationServicesEnabled = 0;

If "LocationServicesEnabled" is not set to "0" and the AO has not authorized the use of location services, this is a finding.
Fix Text (F-60813r905193_fix)
Configure the macOS system to disable Location Services with the following command:

/usr/bin/sudo /usr/bin/defaults write /var/db/locationd/Library/Preferences/ByHost/com.apple.locationd LocationServicesEnabled -bool false

The system may need to be restarted for the update to take effect.